package com.shop.shoporder.mapper;

import com.shop.shoporder.entity.GoodsBanner;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface GoodsBannerMapper {
    int deleteByPrimaryKey(Integer bannerId);

    int insert(GoodsBanner record);

    int insertSelective(GoodsBanner record);

    GoodsBanner selectByPrimaryKey(Integer bannerId);

    int updateByPrimaryKeySelective(GoodsBanner record);

    int updateByPrimaryKey(GoodsBanner record);
    //获取首页banner
    List<GoodsBanner> getBanners();
}